package com.mastercard.auth

class Role {
	
	static auditable = true
    static final ADMINISTRATOR = "Administrator"
    static final EDITOR = "Editor"
    static final CUSTOMER = "Customer"
    
    String name
	
    static hasMany = [permissions: String]
    
    static constraints = {
        name blank: false, unique: true
    }

    String toString() {
        name
    }


}

